import java.io.IOException;

import view.VendingMachineView;

import model.VendingMachineModel;

import controller.VendingMachineController;



public class VendingMachineApp {
  public VendingMachineApp() throws IOException {
    VendingMachineModel model = new VendingMachineModel();
    VendingMachineView view = new VendingMachineView(model);
    VendingMachineController controller = new VendingMachineController(model, view);
    model.addObserver(view);
    controller.showDrinkPrice();
    //controller.showBalance();
    controller.inputProgress();
  }  
  public static void main( String[] args ) throws IOException{
    VendingMachineApp app = new VendingMachineApp();
  }
}




